﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using QualityRpt.Service;

namespace QualityRPT.OBUContract
{
    public partial class del : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                string strcnno = Request.Params["cnno"];
                DeviceContractDetailService.DeleteByCn(strcnno);
                Response.Redirect("index.aspx?pid="+Request.Params["pid"]+"&cid="+Request.Params["cid"]+"&nocache="+DateTime.Now.Ticks);
            }
        }
    }
}